<!DOCTYPE html>
<html>
<head>
<title><g:layoutTitle default="Resuite" /></title>
<link rel="stylesheet" href="${resource(dir:'css',file:'reset.css')}" />
<link rel="stylesheet" href="${resource(dir:'css',file:'style.css')}" />
<link rel="stylesheet" href="${resource(dir:'css',file:'grid.css')}" />
<link rel="stylesheet" href="${resource(dir:'css',file:'notification.css')}" />
<link rel="stylesheet"
	href="${resource(dir:'css',file:'jqtransform.css')}" />
<link rel="shortcut icon"
	href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
<g:javascript library='jquery' plugin='jquery' />
<jqui:resources />
<g:javascript src="FF-cash.js" />
<g:javascript src="cufon-yui.js" />
<g:javascript src="cufon-replace.js" />
<g:javascript src="Franchise_700.font.js" />

<g:javascript src="easyTooltip.js" />
<g:javascript src="superfish.js" />
<g:javascript src="html5.js" />
<g:javascript src="jquery.easing.1.3.js" />
<g:javascript src="jquery.faded.js" />
<g:javascript src="jquery.jcarousel.min.js" />
<g:javascript src="jquery.prettyPhoto.js" />
<g:javascript src="jquery.jqtransform.js" />
<g:javascript src="notification.js" />

<g:layoutHead />

<g:javascript
  >
  function showNotification(title,text){

               jQuery.ajax({type:'POST',data:'', url:'/site/checkImmobileVisitAjax',
                                                success:function(data,textStatus){
                                                          $("#containerNotify").notify("create", {
                                                                title: 'NOTIFICA',
                                                                text: data
                                                            });
                                                          },
                                                error:function(XMLHttpRequest,textStatus,errorThrown){},
                                                complete:function(XMLHttpRequest,textStatus){}
                                            });

			}

</g:javascript>

</head>
<!--<body onload=" showNotification('Titolo notification','MEssage to notification');">-->
<body >
	<!-- header -->
	<header>
		<div class="container_24">
			<div class="wrapper">
				<div class="grid_24">
					<!-- h1><a href="index.html">Real Estate</a></h1 -->
					<h1>
						<a href="${createLink(uri: '/')}">Resuite</a>
					</h1>
					<ul class="list">
						<li class="m1"><a
							href="${createLink(uri: '/lavora_con_noi')}">lavora con noi</a></li>
						<!-- li class="m2"><a href="#">advice</a></li -->
						<!-- li class="m3"><a href="#">blog</a></li -->
						<sec:ifLoggedIn>
							<li class="m4 last"><a href="${createLink(uri: '/console')}">Console dei Comandi</a></li>
								<p align="right">BENVENUTO <sec:username /> (<g:link controller='logout'>Logout</g:link>)</p>
						</sec:ifLoggedIn>
						<sec:ifNotLoggedIn>
							<li class="m4 last"><g:link controller="console"
									action="index">Login</g:link></li>
						</sec:ifNotLoggedIn>


					</ul>
				</div>
			</div>
		</div>
	</header>
	<!-- content -->
	<section id="content">
		<div class="container_24">
			<div class="wrapper">
				<div class="grid_5 z-index1">
					<div class="bg1">
						<nav>
							<ul class="sf-menu">
								<li><a href="${createLink(uri: '/')}">Home</a></li>
								<li><a href="${createLink(uri: '/cerca_immobile')}">cerca
										immobile</a></li>
								<li><a href="${createLink(uri: '/lista_immobili')}">lista immobili
									    </a></li>
								<li><a href="${createLink(uri: '/primo_piano')}">proposte
										in primo piano</a></li>
								<li><a href="${createLink(uri: '/mutui')}">il tuo
										miglior mutuo</a></li>
								<li><a href="${createLink(uri: '/about_us')}">a
										proposito di noi</a></li>
								<li><a href="${createLink(uri: '/contatti')}">contatti</a></li>
<!--                                                                <g:form name="formName" action="checkImmobileVisitAjax" controller="site">

                                                                        <input class="closeField" id="closeField" type="button" value="${message(code:'default.label.menu.profile.info.button.cancel',default:'Test')}" style="font-size: 10px;"/>
                                                              </g:form>-->
							</ul>
						</nav>
						<div class="pad-left" style="margin-top: 45px;">
							<!-- 
                            	<div class="form-text">search</div> 
                                 <form id="search-form">
                                    <fieldset>
                                        <label><input type="text"  value="" onFocus="if(this.value==''){this.value=''}" onBlur="if(this.value==''){this.value=''}" /></label>
                                        <a href="${createLink(uri: '/site/searchByParola.gsp')}" class="page1-img1" onclick="document.getElementById('search-form').submit()"></a>
                                    </fieldset>
                                </form>
                                -->
							<div class="icon-text">Social contacts</div>
							<div class="wrapper">
								<ul class="link-img">
									<li><a class="tooltip" title="google+" href="#"><img
											src="${resource(dir:'images',file:'icon1.jpg')}" alt=""></a></li>
									<li><a class="tooltip" title="twitter" href="#"><img
											src="${resource(dir:'images',file:'icon2.jpg')}" alt=""></a></li>
									<li><a class="tooltip" title="Stumble Upon" href="#"><img
											src="${resource(dir:'images',file:'icon3.jpg')}" alt=""></a></li>
									<li><a class="tooltip" title="Facebook" href="#"><img
											src="${resource(dir:'images',file:'icon4.jpg')}" alt=""></a></li>
								</ul>
							</div>
						</div>
					</div>
					<h2 class="h2-bot2"
						style="padding-bottom: 10px; margin-top: -16px;">newsletter</h2>
					<a href="${createLink(uri: '/site/newsletter.gsp')}"
						class="link1 link1-top6" style="margin-top: 0px;">iscriviti</a>
					&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
					&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (riceverai le informazioni su
					tutti i nuovi immpobili inseriti o solo su quelli che ti
					interessano) </br>
					</br>
					</br>

					<div class="grid_5 z-index1">
						<h2 class="h2-bot1">
							Cosa e' la<br>Consulenza Resuite?
						</h2>
						Qui sotto sono elencati i punti di forza di Resuite, scoprili uno
						per uno:<br>
						<ul class="list3 list3-top2">
							<li><a
								href="${createLink(uri: '/site/consulenzaResuite.gsp')}">Disonbilita'</a></li>
							<li><a
								href="${createLink(uri: '/site/consulenzaResuite.gsp')}">Efficenza</a></li>
							<li><a
								href="${createLink(uri: '/site/consulenzaResuite.gsp')}">Precisione</a></li>
							<li><a
								href="${createLink(uri: '/site/consulenzaResuite.gsp')}">Serieta</a></li>
							<li><a
								href="${createLink(uri: '/site/consulenzaResuite.gsp')}">Prezzi
									imbattibili</a></li>
							<li><a
								href="${createLink(uri: '/site/consulenzaResuite.gsp')}">Soluzioni
									ottime garantite</a></li>
							<!-- li><a href="#">Lorem ipsum dolor sit amet</a></li>
                            <li><a href="#">Consectetuer adipiscing elit</a></li -->
					</div>
					<!--  <h2 class="h2-bot2">in affitto (forse da eliminare)</h2>
                        	<a href="#" class="link6"><img src="images/page1-img2.jpg" alt="" class=""><span></span></a>
                            <div class="link-top">
                            	<a href="#" class="link6"><img src="images/page1-img3.jpg" alt=""><span></span></a>
                            </div>
                            <div class="link-top">
                            	<a href="#" class="link6"><img src="images/page1-img4.jpg" alt=""><span></span></a>
                            </div>
                        <a href="#" class="link1 link1-top6">...continua</a> -->
				</div>
				<g:layoutBody />
			</div>
		</div>
	</section>

	<!-- footer -->
	<footer>
		<div class="container_24">
			<div class="foot-text">
				Cerquozzi - Agostini &copy; 2012 <span> | </span> <a
					href="index-6.html">Privacy</a>
			</div>
		</div>
		<!-- {%FOOTER_LINK} -->
	</footer>

<!-- FOR NOTIFICATION INIT-->
  <div id="containerNotify">
    <div id="basic-template">
        <a class="ui-notify-cross ui-notify-close" href="#">x</a>
        <h1>#{title}</h1> <br/>
        <p>#{text}</p>
        <input type="hidden" value="4" id="not_num_vis" />
    </div>

    <div id="advanced-template">

    </div>
</div>
<!-- FOR NOTIFICATION INIT-->
</body>
</html>